<template>
	<view>
	<view>
		<view style="position: fixed;width: 686rpx;z-index: 10;margin-left: 32rpx;">
		<u-search placeholder="搜索手机号/邮箱/账号添加" v-model="keyword" :show-action="false" :height="68"></u-search>
		</view>
		<view style="height:90rpx;"></view>
		<view>
		<u-gap height="16" bg-color="#F2F1F6"></u-gap>
		</view>	
		<view class="allwrap" v-if="true">
		<view class="flexal" style="margin-top: 32rpx;" v-for="(item,index) in list" :key="index">
			<image :src="item.avatar" class="img"></image>
			<view class="text flexal">
			<text >{{item.name}}</text>
			</view>
		</view>
		</view>
		<u-empty v-else src="/static/user/empty.png" icon-size="363" text=" " class="empty" ></u-empty>
	</view>
	<!-- 电话提示滑动快 -->
	<movablearea1 :movaheight="movaheightAll" v-if="movableareaShow" @editMovaheightAll="editMovaheightAll" :movaTop="movaTopAll"></movablearea1>
	</view>
</template>

<script>
	export default {
		name:"start",
		data() {
			return {
				keyword:'',
				show:false,
				openPop:false,
				// 组织成员
				 list:[
					{
						name:'王小二',
						avatar:'https://cdn.uviewui.com/uview/album/1.jpg',
						checked:false
					},
					{
						name:'王小明',
						avatar:'https://cdn.uviewui.com/uview/album/2.jpg',
						checked:false
					},
					{
						name:'李二',
						avatar:'https://cdn.uviewui.com/uview/album/3.jpg',
						checked:false
					},
					{
						name:'张三',
						avatar:'https://cdn.uviewui.com/uview/album/4.jpg',
						checked:false
					},
					{
						name:'老四',
						avatar:'https://cdn.uviewui.com/uview/album/5.jpg',
						checked:false
					},
					{
						name:'王五',
						avatar:'https://cdn.uviewui.com/uview/album/6.jpg',
						checked:false
					},
					{
						name:'老六',
						avatar:'https://cdn.uviewui.com/uview/album/7.jpg',
						checked:false
					},
					{
						name:'老王',
						avatar:'https://cdn.uviewui.com/uview/album/8.jpg',
						checked:false
					},
					{
						name:'老李',
						avatar:'https://cdn.uviewui.com/uview/album/9.jpg',
						checked:false
					},
				],
			};
		},
		watch:{
			// list: {
			// 	handler(value) { //这是vue的规定写法，当你watch的值发生变化的时候，就会触发这个handler，这是vue内部帮你做的事情
			// 	console.log('成员数据变化',value)
			// 	},
			// 	deep: true, // 可以深度检测到 obj 对象的属性值的变化
			// 	immediate: true //刷新加载  立马触发一次handler
			// },
		},
		methods:{
			// 打开用户操作
			open(){
				if(this.type == 1){
					this.show = !this.show
				}
			},
			submit(type){
				// this.$emit('peopleSubmit',type)
			},
			// 选择用户
			checkboxChange(e){
				console.log('e',e)
			}
		}
	}
</script>

<style lang="less">
	
	.img{
		width: 100rpx;
		height: 100rpx;
		// background: #888888;
		border-radius: 50%;
	}

	.text{
		margin-left: 24rpx;
		flex: 1;
		font-weight: 500;
		font-size: 32rpx;
		color: #333333;
	}
	.button-frame{
		width: 135rpx;
		height: 45rpx;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		border: 2rpx solid #A2A6B1;
		font-weight: normal;
		font-size: 26rpx;
		color: #858A99;
	}
	.button-frame-active{
		color: #0052D9;
		border: 2rpx solid #0052D9;
	}
	.tag{
		margin-left: 24rpx;
		width: 80rpx;
		height: 38rpx;
		background: #D9E1FF;
		border-radius: 11rpx 11rpx 11rpx 11rpx;
		font-weight: 400;
		font-size: 24rpx;
		color: #0052D9;
	}
	
	.warp {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		height: 100%;
		.frame-video{
			  width: 686rpx;
			  height: 188rpx;
			  background: #FFFFFF;
			  border-radius: 24rpx 24rpx 24rpx 24rpx;
		}
		.text{
			width: 100%;
			height: 94rpx;
			font-weight: 400;
			font-size: 30rpx;
			color: #333333;
		}
		.frame-video-cancel{
			margin-top: 22rpx;
			margin-bottom: 60rpx;
			width: 686rpx;
			height: 94rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
		}
	}
	.frame-buttom{
		bottom: 0rpx;
		position: fixed;
		width: 750rpx;
		height: 120rpx;
		background: #FFFFFF;
		box-shadow: 0rpx -2rpx 6rpx 1rpx rgba(0,0,0,0.16);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}
	.button{
		width: 686rpx;
		height: 80rpx;
		background: #0052D9;
		border-radius: 15rpx 15rpx 15rpx 15rpx;
		font-weight: normal;
		font-size: 30rpx;
		color: #FFFFFF;
	}
</style>